package com.concert.mapper;

import com.concert.pojo.Concert;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 黄军艳
 * @version 1.0
 * @date 2024/12/6  9:56
 */
public interface ConcertMapper {
    public int insert(Concert concert);

    public int update(Concert concert);

    public int delete(int concertId);

    public Concert detail(int concertId);

    public int count(@Param("concertName") String concertName);

    public List<Concert> selectPageList(@Param("concertName") String concertName,
                                        @Param("pageBegin") Integer pageBegin,
                                        @Param("pageSize") Integer pageSize);
}
